package de.akad.imp03.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

import de.akad.imp03.shared.PersonObjectify;

/**
 * The async counterpart of <code>DaoService</code>.
 */
public interface DaoServiceAsync {
	void loadPerson(Long id, AsyncCallback<PersonObjectify> callback);
	void savePerson(PersonObjectify p, AsyncCallback<Long> callback); 
	void deletePerson(PersonObjectify p, AsyncCallback<Boolean> callback); 
	void findAllPersons(AsyncCallback<List<PersonObjectify>> callback); 
}
